package routers

import (
	"go-gin-init/app/api/uploadAPI"
	"go-gin-init/app/middleware"
)

func (r *RouterGroup) UploadRouter() {

	uploadRouter := r.Group("upload")
	uploadRouter.Use(middleware.JWTAuth())
	// 需要jwt验证
	uploadRouter.POST("/excel", uploadAPI.UploadExcel)
}
